package com.aierkeji.b2c.entity.vo;

import java.sql.Timestamp;
import java.util.Date;

import javax.persistence.Column;

import com.aierkeji.b2c.entity.constant.OrderStatus;
import com.fasterxml.jackson.annotation.JsonFormat;

public class OrderDetailVo {
	private String orderNo = "";

	private String client;

	private String location = "";

	private String phone = "";

	private String productName = "";

	private OrderStatus orderStatus;

	private Date borrowTime;

	private String tel;
	
	private String deliveryCompany;

	private String deliveryOrder;
	
	private String id;
	
	
	private String aliPayUserId;
	private String lifeId;
	
	
	

	public OrderDetailVo(String orderNo, String client, String location, String phone, String productName,
			OrderStatus orderStatus, Date borrowTime, String tel,String deliveryCompany,String deliveryOrder,String id
			,String aliPayUserId
			,String lifeId) {
		super();
		this.orderNo = orderNo;
		this.client = client;
		this.location = location;
		this.phone = phone;
		this.productName = productName;
		this.orderStatus = orderStatus;
		this.borrowTime = borrowTime;
		this.tel = tel;
		this.deliveryCompany = deliveryCompany;
		this.deliveryOrder = deliveryOrder;
		this.id = id;
		this.aliPayUserId =aliPayUserId;
		this.lifeId =lifeId;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getClient() {
		return client;
	}

	public void setClient(String client) {
		this.client = client;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public OrderStatus getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(OrderStatus orderStatus) {
		this.orderStatus = orderStatus;
	}
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	public Date getBorrowTime() {
		return borrowTime;
	}

	public void setBorrowTime(Date borrowTime) {
		this.borrowTime = borrowTime;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getDeliveryCompany() {
		return deliveryCompany;
	}

	public void setDeliveryCompany(String deliveryCompany) {
		this.deliveryCompany = deliveryCompany;
	}

	public String getDeliveryOrder() {
		return deliveryOrder;
	}

	public void setDeliveryOrder(String deliveryOrder) {
		this.deliveryOrder = deliveryOrder;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAliPayUserId() {
		return aliPayUserId;
	}

	public void setAliPayUserId(String aliPayUserId) {
		this.aliPayUserId = aliPayUserId;
	}

	public String getLifeId() {
		return lifeId;
	}

	public void setLifeId(String lifeId) {
		this.lifeId = lifeId;
	}

}
